import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './router';
import Article from "@/pages/components/Article";
import Interesting from "@/pages/components/Interesting";
import MyInfo from "@/pages/components/MyInfo";
import Support from "@/pages/components/Support";
import User from "@/pages/components/User";
import Login from "@/pages/login/Login";

Vue.use(ElementUI);
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
  components: { App, Article, Interesting, MyInfo, Support, User, Login},
}).$mount('#app')
// new Vue({
//   el: '#app',
//
//   components: { App },
//   template: '<App/>'
// })
